package com.koron.order.concession.bean.po;


import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 让步接收单信息主表(Concession)实体类
 *
 * @author zhouj
 * @since 2022-01-14 09:51:46
 */
@Data
@ApiModel("让步接收单信息主表")
public class ConcessionPo extends BaseBean implements Serializable {

    @ApiModelProperty(value = "让步接收单编码")
    private String code;

    @ApiModelProperty(value = "让步接收单标题")
    private String title;

    @ApiModelProperty(value = "关联工单id")
    private String orderId;

    @ApiModelProperty(value = "关联工单类型")
    private String orderType;

    @NotBlank
    @ApiModelProperty(value = "关联工单编号")
    private String orderCode;

    @NotBlank
    @ApiModelProperty(value = "设备管理单位ID")
    private String deptManage;

    @NotBlank
    @ApiModelProperty(value = "设备管理单位名称")
    private String deptManageName;

    @NotBlank
    @ApiModelProperty(value = "设备管理单位负责人账号")
    private String leader;

    @NotBlank
    @ApiModelProperty(value = "设备管理单位负责人名字")
    private String leaderName;

    @NotBlank
    @ApiModelProperty(value = "问题描述")
    private String question;

    @NotBlank
    @ApiModelProperty(value = "无法解决的原因")
    private String reason;

    @ApiModelProperty(value = "联系人id")
    private String contactId;

    @NotBlank
    @ApiModelProperty(value = "联系人名称")
    private String contactName;

    @ApiModelProperty(value = "联系人所属单位ID")
    private String contactDeptId;

    @ApiModelProperty(value = "联系人所属单位名称")
    private String contactDeptName;

    @ApiModelProperty(value = "联系人类别")
    private String contactType;

    @NotBlank
    @ApiModelProperty(value = "联系电话")
    private String phone;

    @NotBlank
    @ApiModelProperty(value = "申请人所属单位ID")
    private String deptId;

    @NotBlank
    @ApiModelProperty(value = "申请人所属单位名称")
    private String deptName;

    @ApiModelProperty(value = "重大问题关联单编号")
    private String questionId;

    @ApiModelProperty(value = "文件清单")
    private String file;

    @ApiModelProperty(value = "工单状态")
    private String status;

    @ApiModelProperty(value = "是否有权限保存、提交;规则：草稿只能由创建人保存、提交。")
    private boolean hasSubmitPermission;

}
